package com.youshang520i.learningmysqlcanal.service;

import com.alibaba.otter.canal.protocol.CanalEntry;
import com.youshang520i.learningmysqlcanal.model.OperationRecord;

import java.util.List;

public interface OperationRecordService {
    int deleteByPrimaryKey(Integer id);

    int insert(OperationRecord record);

    int insertSelective(List<CanalEntry.RowData> rowChange, String tableName);

    OperationRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OperationRecord record);

    int updateByPrimaryKey(OperationRecord record);
}
